using System;

namespace WiMo.Games.Drawables
{
    public class CollisionEventArgs : System.EventArgs
    {
        public CollisionEventArgs(Border border)
        {
            CollidedBorder = border;
            CollisionType = CollisionTypes.Border;
        }

        public CollisionEventArgs(IBody sprite)
        {
            Sprite = sprite;
            CollisionType = CollisionTypes.Sprite;
            CollidedBorder = Border.None;
        }

        public enum CollisionTypes
        {
            Border,
            Sprite,
        }

        public enum Border
        {
            None,
            Top,
            Left,
            Right,
            Bottom
        }

        public CollisionTypes CollisionType { get; private set; }
        public Border CollidedBorder { get; private set; }
        public IBody Sprite { get; private set; }
    }

    public enum CollisionCategory
    {
        Any,
        One,
        Two,
        Three,
        Four,
        Five,
        Six,
        Seven,
        Eight,
        Nine,
        Ten
    }

}
